<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;</title>
<include file="Public/header" />
<link type="text/css" rel="stylesheet" href="__CSS__/myup.css" />
<script charset="utf-8" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
<script charset="utf-8" src="__PUBLIC__/Js/jquery.validate.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/myup.js"></script>
<load href="__PUBLIC__/Js/Calendar.js" />
<script type="text/javascript">
$(function(){
	 $("#myform").validate({
     	 rules: {
     	 	number : {required: true,},
			money : {required: true,},
			invalid_time : {required: true,},
     	 },
     	 messages : {
     	 	number : {required: '请输入生成数量！',},
			money : {required: '请输入生成卡金额！',},
			invalid_time : {required: '请输入有效时间！',},
     	 },
     })
})	
</script>
</head>
<body>

        <div class="list_vmall_man">
          <div class="list_vmall_le">
        	  <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
           </div>
            <div class="list_vmall_rig">
            	 <form enctype="multipart/form-data" action="<{:U('add_act')}>" method="post" id="myform">
            	  <input type="hidden"  name="id" value="<{$data.id}>">
                
                <div class="list_vmall_bort">
                	<div class="vmall_padi">

                        <div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">生成数量</label>
                            <div class="vmaal_rols">
                                <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="number" name="number" value="<{$data.number}>">
       
                            </div>
                        </div>
						<div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">卡金额</label>
                            <div class="vmaal_rols">
                                <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="money" name="money" value="<{$data.money}>">
       
                            </div>
                        </div>
                    	
						            <div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">失效时间</label>
                            <div class="vmaal_rols">
                                <input type="text"   class="input-small datetimepicker" data-date="" data-date-format="yyyy-mm-dd"  readonly="readonly"  class="vmaal_sinw1 input_a1 int_wod" id="invalid_time" name="invalid_time" value="<{$data.invalid_time}>">
       
                            </div>
                        </div>
						 <!--     <div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">销售公司</label>
                            <div class="vmaal_rols">
                                <input name="company" id="company" value="<{$data.company}>" />   
                            </div>
                        </div>
                         
						
						 <div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">使用电商平台</label>
                            <div class="vmaal_rols">
                               
							   <select name="store_id">
							   <option value="0">请选择使用电商平台</option>
							    <volist name="storeList" id="vo">
								  <option <if condition="$vo['store_id'] eq $data['store_id']"> selected="selected"</if> value="<{$vo.store_id}>"><{$vo.store_name}></option>
								</volist>
							   </select>
       
                            </div>
                        </div>
    

                        <div class="vmall_cle">
                            <label for="input-title" class="vmall_te_le">销售人员</label>
                            <div class="vmaal_rols">
                                <input name="seller" id="seller" value="<{$data.seller}>" />   
                            </div>
                        </div>
                         -->


                       
                        <div class="vmall_cle">
                            <div class="vmaal_rols">
                                <button class="v_mall_q_1" style="border:0; height:32px; padding-top:0; cursor:pointer;" type="submit">确认保存</button>
                                 <a class="v_mall_q_1" style="border: 0px none;height: 28px;padding-top: 0px;cursor: pointer;display: inline-block;" onclick="javascript:history.go(-1);">返&nbsp;&nbsp;回</a>
                            </div>
                        </div>
                        
                      
                        
                    </div>
                </div>
                </form>
            </div>
            

        </div>

</body>
</html>
